import React from 'react'
import ReactDOM from 'react-dom/client'
import { App } from './pages/App'
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
import { LogsPage } from './pages/LogsPage'
import { SettingsPage } from './pages/SettingsPage'

const router = createBrowserRouter([
  { path: '/', element: <App /> },
  { path: '/logs', element: <LogsPage /> },
  { path: '/settings', element: <SettingsPage /> },
])

ReactDOM.createRoot(document.getElementById('root')!).render(
  <RouterProvider router={router} />
)

